#define _CRT_SECURE_NO_WARNINGS 1
#include"Stack.h"

int main()
{
	//Stack st;
	//StackInit(&st);

	//StackPush(&st, 1);
	//StackPush(&st, 2);
	//printf("%d ", StackTop(&st));
	//StackPop(&st);
	//StackPush(&st, 3);
	//StackPush(&st, 4);
	//printf("%d ", StackTop(&st));
	//StackPop(&st);
	//StackPush(&st, 5);

	//while (!StackEmpty(&st))
	//{
	//	printf("%d ", StackTop(&st));
	//	StackPop(&st);
	//}

	//StackDestroy(&st);

	char a = '(]';
	bool ret = isValid(a);
	printf("%d\n", ret);

	return 0;
}